cd "$(CURRENT_DIRECTORY)"

java -jar bin/logo2ps.jar $(FILE_NAME) output_$(FILE_NAME).ps

"C:\Program Files\gs\gs9.07\bin\gswin32c.exe" -sDEVICE=nullpage -dNOPAUSE -c save pop -f output_$(FILE_NAME).ps -c quit

"C:\Program Files\gs\gs9.07\bin\gswin32c.exe" -o output.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" -f output_$(FILE_NAME).ps

cmd /c "start $(CURRENT_DIRECTORY)\output.pdf"